package com.tedu.service.Impl;

import com.tedu.dao.CartDao;
import com.tedu.pojo.Cart;
import com.tedu.service.CartService;
import org.springframework.beans.factory.annotation.Autowired;

public class CartServiceImpl implements CartService {
    @Autowired
    private CartDao cartDao;
    @Override
    public Cart SelectById(Integer id) {
        return cartDao.SelectById(1);
    }

    @Override
    public int deleteById(Integer id) {
        return cartDao.deleteById(1);
    }
}
